package edu.rit.drh4818.file;

import edu.rit.drh4818.volume.Colormap;

/**
 * @author Darren Headrick
 *
 */
public class GreyscaleColormap extends Colormap
{

	public int getColorMapping( int value )
	{	
		return (value & 0xFF) << 24 |
	  	(value & 0xFF) << 16 |
	  	(value & 0xFF) << 8 |
	  	(value & 0xFF);
	}
	
	public String toString()
	{
		return "Greyscale";
	}
	
}
